ActionController::Routing::Routes.draw do |map|

  map.resources :products
  map.resources :orders, :collection => { :validate_card => :post }
    
  map.gateway '/gateway', :controller => 'rubyamf', :action => 'gateway'

end
